package com.oop.test;

public class RemoteControl {

	private double weight;
	private double wirelessRange;
	private String remoteColor;

	public double getWeight() {
		return weight;
	}

	public void setWeight(double weight) {
		this.weight = weight;
	}

	public double getWirelessRange() {
		return wirelessRange;
	}

	public void setWirelessRange(double wirelessRange) {
		this.wirelessRange = wirelessRange;
	}

	public String getRemoteColor() {
		return remoteColor;
	}

	public void setRemoteColor(String remoteColor) {
		this.remoteColor = remoteColor;
	}

	public void showInfo() {
		System.out.println("这是一个" + this.getRemoteColor() + "的遥控器，重量" + this.getWeight() + "克，无线范围"
				+ this.getWirelessRange() + "！");
	}

	public void startup() {
		System.out.println("遥控电视开机！");
	}

	public void shutdown() {
		System.out.println("遥控电视关机！");
	}

	public void remoteSwitch() {
		System.out.println("遥控电视换台！");
	}

	public RemoteControl() {

	}

	public RemoteControl(double weight, double wirelessRange, String remoteColor) {
		super();
		this.weight = weight;
		this.wirelessRange = wirelessRange;
		this.remoteColor = remoteColor;
	}

}
